import { post } from "../../../utils/request";

const planList = data => post("mgt/plan/list", data);

const putOnline = data => post("mgt/plan/onLine", data);

const putOffLine = data => post("mgt/plan/offLine", data);

const artificialPush = data => post("msg/simple/commonPush", data);

const getDepart = data => post("mgt/plan/getPlanDepartment", data);

const delPlan = data => post("mgt/plan/del", data);

export default {
  planList,
  putOnline,
  putOffLine,
  artificialPush,
  getDepart,
  delPlan
};
